package com.flyco.modules.system.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 经销商跟单员关系表
 * @Author: flyco
 * @Date:   2024-05-14
 * @Version: V1.0
 */
@Data
@TableName("sys_store_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_store_user对象", description="经销商跟单员关系表")
public class SysStoreUser {
    
	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
	private String id;
	/**商家编号*/
	@Excel(name = "商家编号", width = 15)
    @ApiModelProperty(value = "商家编号")
	private Integer partnerId;
	/**经销商编码*/
	@Excel(name = "经销商编码", width = 15)
    @ApiModelProperty(value = "经销商编码")
	private String storeId;
	/**经销商名称*/
	@Excel(name = "经销商名称", width = 15)
	@ApiModelProperty(value = "经销商名称")
	@TableField(exist = false)
	private String storeName;
	/**渠道编码*/
	@Excel(name = "渠道编码", width = 15)
    @ApiModelProperty(value = "渠道编码")
	private String channelId;
	/**跟单员用户名*/
	@Excel(name = "跟单员用户名", width = 15)
    @ApiModelProperty(value = "跟单员用户名")
	private String userName;
	@Excel(name = "跟单员姓名", width = 15)
	@ApiModelProperty(value = "跟单员姓名")
	@TableField(exist = false)
	private String realName;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
	private Date updateTime;
}
